﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home/Home.Master" AutoEventWireup="true" CodeBehind="OrderGuest.aspx.cs" Inherits="Project.Teller.OrderGuest" %>
<asp:Content ID="Content1" ContentPlaceHolderID="StatusLogin" runat="server">

    Welcome:
    <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True" ForeColor="White"></asp:Label>
    <asp:Button ID="Button1" runat="server" Text="Logout" OnClick="Button1_Click" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Menulefs" runat="server">
 <ul id="nav">
        <li class="menu1"><a>Menu</a> </li>
        <li class="menu2"><span>
            <img src="../Resource/Picture/menu1.gif" /><a href="OrderGuest.aspx"> View Orders Guest</a></span>
        </li>
        <li class="menu3"><span>
            <img alt="" class="style2" src="../Resource/Picture/menu1.gif" />
            <a href="UpdateTeller.aspx">Update Price & Route</a> </span></li>
        <li class="menu4"><span>
            <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="EditTeller.aspx">Edit
                Information</a></span> </li>
        <li class="menu5"><span>
            <img alt="" class="style2" src="../Resource/Picture/menu1.gif" /><a href="OrderTeller.aspx">Orders</a></span>
        </li>
    </ul>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="content" runat="server">
    <div id="orderGuest">
            <h1>List Customer
            </h1>
            <br />
            <hr />
            <div id="gridGuest">
            <asp:GridView ID="GridView1" runat="server" 
                    AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="DataGuest" 
                    Height="251px" Width="572px" BackColor="White" BorderColor="#CCCCCC" 
                BorderStyle="None" BorderWidth="1px" CellPadding="3">
                <Columns>
                    <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" 
                        SortExpression="ID" >
                    <ControlStyle CssClass="grid" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
                    <asp:BoundField DataField="IdentityCard" HeaderText="IdentityCard" 
                        SortExpression="IdentityCard" />
                    <asp:BoundField DataField="Address" HeaderText="Address" 
                        SortExpression="Address" />
                    <asp:BoundField DataField="Phone" HeaderText="Phone" SortExpression="Phone" />
                    <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                </Columns>
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <RowStyle ForeColor="#000066" />
                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <SortedAscendingCellStyle BackColor="#F1F1F1" />
                <SortedAscendingHeaderStyle BackColor="#007DBB" />
                <SortedDescendingCellStyle BackColor="#CAC9C9" />
                <SortedDescendingHeaderStyle BackColor="#00547E" />
                </asp:GridView>
                <asp:LinqDataSource ID="DataGuest" runat="server" 
                    ContextTypeName="Project.DataPOFDataContext" EntityTypeName="" 
                    TableName="CustomerOrders">
                </asp:LinqDataSource>
            </div>
    </div>

</asp:Content>
